def ConvertUnit(args):
    import numpy as np
    with open(args.InputFile, "r") as f:
        OutputFile = open(args.InputFile.replace(".", "_convert."), "w")
        Lines = f.readlines()
        for line in Lines:
            StrValues = line.split(',')
            oline = StrValues[0] + ',' + str(np.float64(StrValues[1])*args.Scale) + ',' + str(np.float64(StrValues[2])*args.Scale) + '\n'
            OutputFile.write(oline)
        OutputFile.close()

def main():
    import argparse

    parser = argparse.ArgumentParser(description="Significance")
    parser.add_argument(
        "-i", "--InputFile", default="xxx.txt", dest="InputFile"
    )
    parser.add_argument(
        "-s", "--Scale", type=float, default=1, dest="Scale"
    )
    args = parser.parse_args()

    ConvertUnit(args)

if __name__ == "__main__":
    main()